package com.titleevaluation.repository;

import com.titleevaluation.entity.Punishments;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PunishmentsRepository extends JpaRepository<Punishments, Long> {
    List<Punishments> findByApplicationId(Long applicationId);
}

